]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Don't start portal helper under GDM
authorBastien Nocera <hadess@hadess.net>
Sun, 19 Feb 2017 15:38:07 +0000 (16:38 +0100)
committerBastien Nocera <hadess@hadess.net>
Wed, 22 Feb 2017 15:21:40 +0000 (16:21 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=769546

js/ui/status/network.js

index 560743cf0acc322f829b7ca1a8984907bc14a467..bedfc5e384cbe7ded6abeea851f0827d952c93d7 100644 (file)
@@ -2066,7 +2066,7 @@ const NMApplet = new Lang.Class({
         // (but in general we should only prompt a portal if we know there is a portal)
         if (GLib.getenv('GNOME_SHELL_CONNECTIVITY_TEST') != null)
             isPortal = isPortal || this._client.connectivity < NetworkManager.ConnectivityState.FULL;
-        if (!isPortal)
+        if (!isPortal || Main.sessionMode.isGreeter)
             return;
 
         let path = this._mainConnection.get_path();